Skip to content

Set permissions after DB initialise; make media permissions optional#255

Open
mpfl wants to merge 2 commits intodjdembeck:developfrom
mpfl:permissions
Open

Set permissions after DB initialise; make media permissions optional#255
mpfl wants to merge 2 commits intodjdembeck:developfrom
mpfl:permissions

Conversation

@mpfl
Copy link

@mpfl mpfl commented Jan 13, 2024

This pull request fixes #254 by changing the order of entrypoint.sh

It also adds a new ENV: FIX_MEDIA_PERMISSIONS that, if set to false, stops bragi from trying to change the ownership on the /input and /output directories. Bragi isn’t the only app that is accessing those directories so I don’t want it to take ownership of everything. /config remains untouched as only bragi has access to that anyway.

@djdembeck djdembeck changed the base branch from main to develop August 7, 2024 17:24
@djdembeck
Copy link
Owner

Thanks for the contribution!

I switched the target branch to develop since we don't want this in main without testing.

Also, please add the new FIX_MEDIA_PERMISSIONS env var to the README so everyone knows about it:

| Parameter | Function |

You can see how the other available vars are listed there as an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New install with UID/GID set cannot access own database or secret key

2 participants